# coding = utf-8

'''
展示聚类的折线图
'''
import matplotlib.pyplot as plt

def plot_data():
    x = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
    y = [0.69485, 0.70737, 0.72934, 0.71188, 0.71944, 0.70306, 0.69713, 0.68274, 0.66531, 0.66529]

    plt.plot(x, y)
    plt.title("Dice Varies Clusuer Classes")
    plt.xlabel("cluster classes")
    plt.ylabel("per_case dice")
    plt.show()

if __name__ == '__main__':
    plot_data()